From: Wei Liu Date: Thu, 9 Jun 2016 12:57:37 +0000 (+0100) Subject: libxc: honour XEN_LOG_DIR in xc_dom_core.c X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~976 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=de2807b95762816e13b282e782ba334d41559232;p=xen.git libxc: honour XEN_LOG_DIR in xc_dom_core.c Signed-off-by: Wei Liu Reviewed-by: Andrew Cooper Acked-by: Ian Jackson --- diff --git a/tools/libxc/xc_dom_core.c b/tools/libxc/xc_dom_core.c index 55c779dbaf..ebada8923d 100644 --- a/tools/libxc/xc_dom_core.c +++ b/tools/libxc/xc_dom_core.c @@ -33,13 +33,14 @@ #include "xg_private.h" #include "xc_dom.h" +#include "_paths.h" /* ------------------------------------------------------------------------ */ /* debugging */ -static const char *default_logfile = "/var/log/xen/domain-builder-ng.log"; +static const char *default_logfile = XEN_LOG_DIR "/domain-builder-ng.log"; int xc_dom_loginit(xc_interface *xch) { if (xch->dombuild_logger) return 0;